go/types.TypeParam.bound (field)
18 uses
go/types (current package)
decl.go#L645: tparams[index+i].bound = bound
infer.go#L113: tparams2[i].bound = check.subst(posn.Pos(), tparam.bound, renameMap, nil)
instantiate.go#L145: bound := check.subst(pos, tpar.bound, smap, nil)
object.go#L477: typ = t.bound
operand.go#L175: WriteType(&buf, tpar.bound, qf) // do not compute interface type sets here
predicates.go#L287: ybound := check.subst(token.NoPos, ytparams[i].bound, smap, nil)
predicates.go#L288: if !identical(xtparam.bound, ybound, cmpTags, p) {
signature.go#L153: tpar.bound = check.subst(tpar.obj.pos, recvTPar.bound, smap, nil)
typeparam.go#L26: bound Type // any type, but underlying is eventually *Interface for correct programs (see TypeParam.iface)
typeparam.go#L47: typ := &TypeParam{check: check, id: id, obj: obj, index: -1, bound: constraint}
typeparam.go#L72: return t.bound
typeparam.go#L85: t.bound = bound
typeparam.go#L107: bound := t.bound
typeparam.go#L129: t.bound = ityp // update t.bound for next time (optimization)
typestring.go#L380: if tpar.bound != prev {
typestring.go#L387: prev = tpar.bound